import App from './App'
import api from "@/api/api.js"
import { format } from '@/untils/tools.js'

// #ifndef VUE3
import Vue from 'vue'
// 时间格式
Vue.prototype.$format = format
Vue.prototype.$api = api
Vue.config.productionTip = false

// uview-ui
import uView from "uview-ui";
Vue.use(uView);
// api

App.mpType = 'app'
const app = new Vue({ ...App })
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return { app }
}
// #endif